/// @file Tangram.h
#pragma once
#include <boost/noncopyable.hpp>
#include <QLinkedList>
#include <QWidget>
#include <set>
#include "Tan.h"

namespace qtangram {
    /// @class Tangram
    /// @brief Container for Tans.
    class Tangram {
    public:      
        Tangram() : ready(false) {}
        /// loads tangram from file
        /// @return bool true if successful
	bool loadTangramFromFile(QString path);
        /// @return bool true if tangram has been loaded
	bool isReady() {return ready;}
        /// list of tans in tangram
	QLinkedList<Tan> tans;
    private:
	bool ready;
    };
}
